package mianyang.zhangsan.com.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import mianyang.zhangsan.com.pojo.Course;

import java.util.List;

public interface CourseService {

    String queryNameById(Integer courseId);

    Course queryInfoById(Integer courseId);

    List<Course> queryInfoAll();

    Page<Course> queryByPage(int page, int size, int teacherId);

    void addCourse(Course course);

    void deleteCourse(int id);
}
